import request from '@/utils/request'

export function update(data) {
  return request({
    url: '/work/team/saveOrUpdate',
    method: 'post',
    data:data
  })
}



// 获取用户详细信息
export function getTeamInfo() {
  return request({
    url: '/work/team/getLoginUserTeam',
    method: 'get'
  })
}